<?php /* Smarty version Smarty-3.0.8, created on 2011-07-07 16:22:49
         compiled from "E:\wamp\clases_tarda\Smarty\templates\templatesMp3\mp3\formulari.tpl" */ ?>
<?php /*%%SmartyHeaderCode:275744e15dd59ef5682-77994729%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'cce0a5a66004a74a514d4a8e13508b770a437cfe' => 
    array (
      0 => 'E:\\wamp\\clases_tarda\\Smarty\\templates\\templatesMp3\\mp3\\formulari.tpl',
      1 => 1310055190,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '275744e15dd59ef5682-77994729',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
		<form method="POST" action="guardarArxiu.php" enctype="multipart/form-data">
		<table>
				<tr><td align="right">Nom Arxiu: </td><td><input type="text" name="arxiu" value="<?php echo $_smarty_tpl->getVariable('arxiu')->value;?>
" readonly="true"/></td></tr>
				<?php if (isset($_smarty_tpl->getVariable('canco',null,true,false)->value)){?>
					<tr><td align="right">Artista: </td><td><input type="text" name="artista" value="<?php echo $_smarty_tpl->getVariable('canco')->value->artista;?>
" /></td></tr>
					<tr><td align="right">Títol: </td><td><input type="text" name="titol" value="<?php echo $_smarty_tpl->getVariable('canco')->value->titol;?>
"/></td></tr>
					<tr><td align="right">Àlbum: </td><td><input type="text" name="album" value="<?php echo $_smarty_tpl->getVariable('canco')->value->nomAlbum;?>
"/></td></tr>
					<tr><td align="right">Data: </td><td><input type="text" name="data" value="<?php echo $_smarty_tpl->getVariable('canco')->value->data;?>
"/></td></tr>
					<tr><td align="right">País: </td><td><input type="text" name="pais" value="<?php echo $_smarty_tpl->getVariable('canco')->value->pais;?>
"/></td></tr>
				<?php }else{ ?>
					<tr><td align="right">Artista: </td><td><input type="text" name="artista"/></td></tr>
					<tr><td align="right">Títol: </td><td><input type="text" name="titol"/></td></tr>
					<tr><td align="right">Àlbum: </td><td><input type="text" name="album"/></td></tr>
					<tr><td align="right">Data: </td><td><input type="text" name="data"/></td></tr>
					<tr><td align="right">País: </td><td><input type="text" name="pais"/></td></tr>
					
				<?php }?>
				<tr><td align="right">Pública: </td><td><input type="checkbox" name="publica" checked/></td></tr>
				<tr><td></td><td><input type="submit" name="pujarCanco" value="Confirmar dades"/></td></tr>	
				<?php if (isset($_smarty_tpl->getVariable('error',null,true,false)->value)&&$_smarty_tpl->getVariable('error')->value!=''){?>
					<tr><td align="right"><?php echo $_smarty_tpl->getVariable('error')->value;?>
</td></tr>
				<?php }?>		
		</table>
		</form>	